package com.well.menjin.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

@Entity(name = "door_controller")
public class Doorcontr implements Serializable {

	private static final long serialVersionUID = -4500282393466788909L;


	@Id
	@GenericGenerator(name="id",strategy="uuid2")
	@GeneratedValue(generator="id")	
	private String id;
	
	
	//控制器编号
	private String controller_id;
	
	//控制器名称
	private String controller_name;
	
	//状态
	private String state;
	
	//放置位置
	private String place;
	
	//负责人
	//通讯转换器信息
	private String duty_man;
	
	//供电方式
	private String power_way;
	
	//电源引出点
	private String power_out;
	
	//就近开关
	private String near_switch;
	
	//ip地址
	private String ip_address;
	
	//操作时间
	@Temporal(TemporalType.TIMESTAMP)
	private Date operate_date;
	
	//工号
	private String emp_no;
	
	//串口号
	private String comm_port;
	
	//物理地址
	//控制器型号
	private String mac_address;
	
	//前向通讯节点
	private String forward_comm_node;
	
	//前向电源节点
	private String forward_power_node;
	
	//通讯站点
	private String comm_station;
	
	//通讯状态
	private String comm_state;
	
	//同步控制器数据标志
	private String sync_data_flag;
	
	//添加控制器时间
	@Temporal(TemporalType.TIMESTAMP)
	private Date create_date;
	
	//添加人
	private String create_by;
	
	//修改时间
	@Temporal(TemporalType.TIMESTAMP)
	private Date updata_date;
	
	//修改人
	private String update_by;
	
	//备注
	private String remark;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getController_id() {
		return controller_id;
	}

	public void setController_id(String controller_id) {
		this.controller_id = controller_id;
	}

	public String getController_name() {
		return controller_name;
	}

	public void setController_name(String controller_name) {
		this.controller_name = controller_name;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getDuty_man() {
		return duty_man;
	}

	public void setDuty_man(String duty_man) {
		this.duty_man = duty_man;
	}

	public String getPower_way() {
		return power_way;
	}

	public void setPower_way(String power_way) {
		this.power_way = power_way;
	}

	public String getPower_out() {
		return power_out;
	}

	public void setPower_out(String power_out) {
		this.power_out = power_out;
	}

	public String getNear_switch() {
		return near_switch;
	}

	public void setNear_switch(String near_switch) {
		this.near_switch = near_switch;
	}

	public String getIp_address() {
		return ip_address;
	}

	public void setIp_address(String ip_address) {
		this.ip_address = ip_address;
	}

	public Date getOperate_date() {
		return operate_date;
	}

	public void setOperate_date(Date operate_date) {
		this.operate_date = operate_date;
	}

	public String getEmp_no() {
		return emp_no;
	}

	public void setEmp_no(String emp_no) {
		this.emp_no = emp_no;
	}

	public String getComm_port() {
		return comm_port;
	}

	public void setComm_port(String comm_port) {
		this.comm_port = comm_port;
	}

	public String getMac_address() {
		return mac_address;
	}

	public void setMac_address(String mac_address) {
		this.mac_address = mac_address;
	}

	public String getForward_comm_node() {
		return forward_comm_node;
	}

	public void setForward_comm_node(String forward_comm_node) {
		this.forward_comm_node = forward_comm_node;
	}

	public String getForward_power_node() {
		return forward_power_node;
	}

	public void setForward_power_node(String forward_power_node) {
		this.forward_power_node = forward_power_node;
	}

	public String getComm_station() {
		return comm_station;
	}

	public void setComm_station(String comm_station) {
		this.comm_station = comm_station;
	}

	public String getComm_state() {
		return comm_state;
	}

	public void setComm_state(String comm_state) {
		this.comm_state = comm_state;
	}

	public String getSync_data_flag() {
		return sync_data_flag;
	}

	public void setSync_data_flag(String sync_data_flag) {
		this.sync_data_flag = sync_data_flag;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public String getCreate_by() {
		return create_by;
	}

	public void setCreate_by(String create_by) {
		this.create_by = create_by;
	}

	public Date getUpdata_date() {
		return updata_date;
	}

	public void setUpdata_date(Date updata_date) {
		this.updata_date = updata_date;
	}

	public String getUpdate_by() {
		return update_by;
	}

	public void setUpdate_by(String update_by) {
		this.update_by = update_by;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
}
